import FormModel from '../../../src/components/ConfigForm/Model';

export default class extends FormModel{
    data = {
        ...this.data,
        config: [{
            label: '项目名称',
            type: 'input',
            key: 'projectName'
        }, {
            label: '截止日期',
            type: 'input',
            key: 'endLine'
        }, {
            label: '仓库地址',
            type: 'input',
            key: 'gitUrl'
        }, {
            label: '负责人',
            type: 'input',
            key: 'developer'
        }, {
            label: '详细内容',
            type: 'textarea',
            key: 'detail',
            options: {
                minRows: 2,
                max: 500
            }
        }],
        cols: 1,
        currentRowIndex: 0
    };
}